/**
 * 
 */
/**
 * @author CHRONICALSde
 *
 */
package CustomPlugins;

import java.awt.Frame;
import java.awt.event.WindowEvent;

import javax.swing.JOptionPane;
import CustomPlugins.CustomPlugins;    
import CustomPlugins.Events;        


public class launcher {

public static void main(String[] args) {

	
	System.out.println("Error! Please put this bukkit plugin by CHRONICALSde into the plugins folder. ");	
	JOptionPane.showMessageDialog(null, "Error! Please put this bukkit plugin by CHRONICALSde into the plugins folder.", "Information", JOptionPane.OK_CANCEL_OPTION);
	System.out.println("Closing");	
	for (Frame frame : Frame.getFrames())
	{
		if (frame.isActive())
		{
			WindowEvent windowClosing = new WindowEvent(frame, WindowEvent.WINDOW_CLOSING);
			frame.dispatchEvent(windowClosing);
		}
	}
	new CustomPlugins();
	new Events(null);
}
}


